# 05-模块的导入.py
'''
improt 模块名
from 模块名 import *
from 模板名 import 方法|类|方法
'''
# 1、导入模块
import random
print(random.randint(1,100))

# 2、起别名
import random as r
print(r.randint(100,1000))

from random import *
print(randint(1000,10000))

# 买家具   按需导入
from random import randint
print(randint(99,100))